package wechat

import (
	"ims/app/wechat/controller"

	"github.com/gogf/gf/frame/g"
	"github.com/gogf/gf/net/ghttp"
)

func Init() {

	s := g.Server()

	s.Group("/wechat", func(group *ghttp.RouterGroup) {
		group.ALLMap(g.Map{
			"/": controller.Index,
		})
	})

	s.Group("/ws", func(group *ghttp.RouterGroup) {
		group.ALLMap(g.Map{
			"/": controller.Websocket,
		})
	})

}
